package com.spring.mvc.mail;

public interface MailTemplate {

	/**
	 * return Mail message
	 * @return
	 */
	public Object getMailMessage();
	
	/**
	 * Set up Mail recipient
	 * @param to
	 */
	public void setTo(String to);
	
	/**
	 * Set up Mail sender
	 * @param from
	 */
	public void setFrom(String from);
	
	/**
	 * Set up Mail subject
	 * @param subject
	 */
	public void setSubject(String subject);
	
	/**
	 * Set up Mail Context
	 * @param text
	 */
	public void setText(String text);
}
